package com.qf58.search.page;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description: Bool查询 Basic Search
 * User: zhubo
 * Date: 2017-08-29
 * Time: 16:29
 */
public class BoolPager extends LucenePager{

    /**
     * must规则
     */
    private Map<String,Object> mustQuery;

    /**
     * filter规则
     */
    private Map<String,Object> filterQuery;
    /**
     * mustNot规则
     */
    private Map<String,Object> mustNotQuery;
    /**
     * should规则
     */
    private Map<String,Object[]> shouldQuery;


    public Map<String, Object> getMustQuery() {
        return mustQuery;
    }

    public void setMustQuery(Map<String, Object> mustQuery) {
        this.mustQuery = mustQuery;
    }

    public Map<String, Object> getFilterQuery() {
        return filterQuery;
    }

    public void setFilterQuery(Map<String, Object> filterQuery) {
        this.filterQuery = filterQuery;
    }

    public Map<String, Object> getMustNotQuery() {
        return mustNotQuery;
    }

    public void setMustNotQuery(Map<String, Object> mustNotQuery) {
        this.mustNotQuery = mustNotQuery;
    }

    public Map<String, Object[]> getShouldQuery() {
        return shouldQuery;
    }

    public void setShouldQuery(Map<String, Object[]> shouldQuery) {
        this.shouldQuery = shouldQuery;
    }
}
